package org.suwenqian.audiovideosummary.common.enums;

import lombok.Getter;

@Getter
public enum ProcessStepEnum {
    UPLOAD("upload", "文件上传完成,下一步执行转码处理", 20),
    TRANSCODE("transcode", "转码处理完成，下一步执行音频提取", 40),
    AUDIO_EXTRACT("audio_extract", "音频提取完成，下一步执行语音识别", 50),
    ASR("asr", "语音识别完成，下一步执行大模型调用处理", 60),
    LLM("llm", "大模型处理完成，正在生成思维导图", 80),
    MIND_MAP("mindmap", "思维导图生成完毕，请查看思维导图", 100);

    private final String code;
    private final String description;
    private final int percent;

    ProcessStepEnum(String code, String description, int percent) {
        this.code = code;
        this.description = description;
        this.percent = percent;
    }
}
